VIVE 3DSP Native C Library
ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
vive_3dsp_api
vive_3dsp_api.h
Go to the documentation of this file.
1
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
5
#pragma once
6
#include "
audio_engine.h
"
7
#include "
room.h
"
8
#include "
occlusion.h
"
9
#include "
ambisonic_decoder.h
"
10
#include "parametric_eq.h"
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
namespace
HTC_Vive3DSP_SDK
{
16
18
struct
VIVE_3DSP_Version
{
19
unsigned
int
major
;
20
unsigned
int
minor
;
21
unsigned
int
build
;
22
unsigned
int
revision
;
23
};
24
33
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
34
vive_3dsp_audiofx_get_version(
VIVE_3DSP_Version
*ver);
43
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
44
vive_3dsp_get_version(
VIVE_3DSP_Version
*ver);
45
46
47
/*****************************************************************************************************************/
48
/* Audio listener */
49
/*****************************************************************************************************************/
50
60
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
61
vive_3dsp_listener_set_position(
vive_3dsp_context
*api,
VIVE_3DSP_Vector3
pos);
72
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
73
vive_3dsp_listener_set_rotation_euler(
vive_3dsp_context
*api,
VIVE_3DSP_Vector3
euler);
83
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
84
vive_3dsp_listener_set_rotation(
vive_3dsp_context
*api,
VIVE_3DSP_Quaternion
quat);
94
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
95
vive_3dsp_listener_set_gain(
vive_3dsp_context
*api,
float
gain);
97
106
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
107
vive_3dsp_listener_set_current_room(
vive_3dsp_context
*api,
vive_3dsp_room
*room);
116
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
117
vive_3dsp_listener_leave_room(
vive_3dsp_context
*api);
119
128
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
129
vive_3dsp_listener_set_headset(
vive_3dsp_context
*api,
VIVE_3DSP_HEADSET_MODEL
headset);
130
}
131
132
#ifdef __cplusplus
133
}
134
#endif
HTC_Vive3DSP_SDK::VIVE_3DSP_Version::revision
unsigned int revision
Definition:
vive_3dsp_api.h:22
HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion
Definition:
audio_engine.h:158
HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3
Definition:
audio_engine.h:144
HTC_Vive3DSP_SDK::VIVE_3DSP_API_STATUS
VIVE_3DSP_API_STATUS
Definition:
audio_engine.h:25
VIVE_3DSP_API_DLLEXPORT
#define VIVE_3DSP_API_DLLEXPORT
Definition:
audio_engine.h:6
audio_engine.h
room.h
ambisonic_decoder.h
HTC_Vive3DSP_SDK::VIVE_3DSP_Version::major
unsigned int major
Definition:
vive_3dsp_api.h:19
HTC_Vive3DSP_SDK::VIVE_3DSP_HEADSET_MODEL
VIVE_3DSP_HEADSET_MODEL
Definition:
audio_engine.h:117
vive_3dsp_context
The vive_3dsp_context structure represents the overall audio engine of 3D sound model.
HTC_Vive3DSP_SDK
Definition:
vive_3dsp_api.h:15
occlusion.h
HTC_Vive3DSP_SDK::VIVE_3DSP_Version::minor
unsigned int minor
Definition:
vive_3dsp_api.h:20
vive_3dsp_room
The vive_3dsp_room structure represents the 3D room model, including the reflection and reverberation...
HTC_Vive3DSP_SDK::VIVE_3DSP_Version::build
unsigned int build
Definition:
vive_3dsp_api.h:21
HTC_Vive3DSP_SDK::VIVE_3DSP_Version
Definition:
vive_3dsp_api.h:18
Generated by
1.8.14